diff options
| author | Adam Soltys <[email protected]> | 2026-03-03 23:02:33 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-03 23:02:33 -0800 |
| commit | 64c20c45d673fd37f7791bf240332f0813a23e78 (patch) | |
| tree | 699128756d1101551c7a100e09ef4058491bc18a /src/routes/(app)/invoice/[id]/+layout.server.ts | |
| parent | 1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1 (diff) | |
| download | coinos-ui-64c20c45d673fd37f7791bf240332f0813a23e78.tar.gz coinos-ui-64c20c45d673fd37f7791bf240332f0813a23e78.zip | |
icon tweaks
Diffstat (limited to 'src/routes/(app)/invoice/[id]/+layout.server.ts')
| -rw-r--r-- | src/routes/(app)/invoice/[id]/+layout.server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/[id]/+layout.server.ts b/src/routes/(app)/invoice/[id]/+layout.server.ts index a0d7d676..f31e28f1 100644 --- a/src/routes/(app)/invoice/[id]/+layout.server.ts +++ b/src/routes/(app)/invoice/[id]/+layout.server.ts @@ -27,7 +27,7 @@ export async function load({ cookies, depends, params, url, parent }) { const aid = cookies.get("aid") || user?.id; if ( user && - (invoice.uid !== user?.id || aid !== invoice.aid) && + invoice.uid !== user?.id && !(url.pathname.includes("tip") || url.pathname.includes("memo")) && !options ) { |
